﻿@inherits BlazorStrap.Shared.Components.Common.BSNavbarBase
@namespace BlazorStrap.V5

<CascadingValue Value="this">
    @if (IsHeader)
    {
        <header class="@ClassBuilder" @attributes="Attributes">
            @ChildContent
        </header>
    }
    else
    {
        <nav class="@ClassBuilder" @attributes="Attributes">
            @ChildContent
        </nav>
    }
</CascadingValue>